//============================================================================
// Name        : Menu.cpp
// Author      : Patrick van ieperen
// Version     : 0.0
// Copyright   : Your copyright notice
// Description : menu programmaatje
//============================================================================

#include <iostream>
#include "Truck.h"
using namespace std;



void showMenu( void );

Truck *vrachtAuto = new Truck("Leger","RVS",300,4,550);

int main()
{
    string name = "";
    bool quit = false;
    int choice =0;


    while (!quit)
    {
        showMenu();

        cin >> choice;
        cin.ignore();

        switch (choice)
        {
            case 1:
                vrachtAuto->setLicensePlate("12-34-AA");
            break;

            case 2:
                cout << vrachtAuto->getLicensePlate() << endl;
                cout << "Aantal wielen" << vrachtAuto->getNrWheels() << endl;
                cout << vrachtAuto->getPower() << endl;
            break;

            case 3:
				cout << "De vrachtwagen is een " << vrachtAuto->getModel() << " model"  << endl;
            break;

            case 4:
            break;

            case 5:
            break;

            case 6:
            break;

            case 7:
            break;

            case 8:
            break;

            case 9:
            break;

            case 10:
            break;

            case 11:
                quit=true;
                break;

            default:
                cout << " i got confused from your input" << endl;
        }
     }

    return 0;
}
void showMenu( void )
{

    cout << ("\nThis menu function is not part of the test. Please run TruckTest");
    cout << ("\n===========================");
    cout << ("\n[1]  ");
    cout << ("\n[2]  ");
    cout << ("\n[3]  ");
    cout << ("\n[4]  ");
    cout << ("\n[5]  ");
    cout << ("\n[6]  ");
    cout << ("\n[7]  ");
    cout << ("\n[8]  ");
    cout << ("\n[9]  ");
    cout << ("\n[10] ");
    cout << ("\n[11] Quit.");
    cout <<  ("\n\nChoice : ");
}

